<!DOCTYPE html>
<html lang="en">

<head>
    <meta charset="UTF-8">
    <meta name="viewport" content="width=device-width, initial-scale=1.0">
    <title>Document</title>
    <style>
        * {
            margin: 0;
            padding: 0;
        }

        #box {
            width: 100vw;
            height: 100vh;
            display: flex;
            flex-direction: column;
        }

        #top,
        #botten {
            width: 100vw;
            height: 200px;
            background-color: orange;
        }

        #content {

            width: 100vw;
            height: 100%;
            display: flex;

        }

        #contentleft,
        #contentcenter,
        #contentright {
            height: 100%;
        }

        #contentleft {
            background-color: green;
            width: 25%;
        }

        #contentcenter {
            background-color: palegoldenrod;
            width: 50%;
        }

        #contentright {
            width: 25%;
            background-color: palevioletred;
        }

        @media screen and (max-width:699px) {
            #content {
                display: flex;
                flex-direction: column;
            }

            #contentleft,
            #contentcenter,
            #contentright {
                width: 100vw;
            }

            #contentleft {
                height: 25%;
            }

            #contentcenter {
                height: 50%;
            }

            #contentright {
                height: 25%;
            }
        }
    </style>
</head>

<body>
    <div id="box">
        <div id="top"></div>
        <div id="content">
            <div id="contentleft"></div>
            <div id="contentcenter"></div>
            <div id="contentright"></div>
        </div>
        <div id="botten"></div>
    </div>
</body>

</html>